package com.tzbank.common.consumer;

import com.tzbank.common.hystrix.CommonServiceHystrix;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.Map;

@FeignClient(value = "framework-common-service",fallback = CommonServiceHystrix.class)
public interface CommonServiceScheduler {

    @GetMapping("test")
    Map<String,Object> test();
}
